#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<time.h>

#define ROW 9
#define COL 9
#define ROWS ROW+2
#define COLS COL+2
#define easy_lei 10


void initboard(char baord[ROWS][COLS], int rows, int cols, char ret);

void disboard(char board[ROWS][COLS], int row, int col);

void set_mine(char mine[ROWS][COLS], int row, int col);

void findmine(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);